//
//  Dog.h
//  复习2
//
//  Created by Justsoso on 16/3/12.
//  Copyright © 2016年 Justsoso. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Person.h"

@protocol DogDelegate <NSObject>

- (void)feed;

@end


@interface Dog : NSObject
{
    NSString *fullName;
}

@property (nonatomic,copy) NSString *firstName;
@property (nonatomic,copy) NSString *lastName;
@property (nonatomic,assign) int hungry;
@property (nonatomic,assign) BOOL die;
@property (nonatomic,weak) Person *myMaster;
@property (nonatomic,weak) id<DogDelegate> delegate;

- (instancetype)initWithName:(NSString *)name;
- (NSString *)fullName;
@end
